home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / utils / datatypes / akmuiprefs.lha / akMUIPrefs / Install < prev    next >
Text File  |  1998-03-03  |  2KB  |  131 lines

  1. ;$VER:akMUIPrefs Install 43.2
  2.  
  3. (set #gif 0)
  4. (set #jfif 1)
  5. (set #ljpg 2)
  6. (set #png 3)
  7. (set #svg 4)
  8. (set #new 1)
  9.  
  10. (message "This will install the MUI replacements for the akXXXPrefs to your system.\nMake sure you have deleted the Wizard version of the old prefs.")
  11.  
  12. (set #prefs-dir
  13.     (askdir
  14.         (prompt "Where do you store your preferences for datatypes ?")
  15.         (help @askdir-help)
  16.         (default "SYS:Prefs/DataTypes")
  17.     )
  18. )
  19. (set #choice
  20.     (askoptions
  21.         (prompt "What akMUIPrefs do you like to install ?")
  22.         (help @askoptions-help)
  23.         (choices "GIF" "JFIF" "LJPG" "PNG" "SVG")
  24.     )
  25. )
  26. (set #icon
  27.     (askchoice
  28.         (prompt "What type of icons do you want to use ?")
  29.         (help @askchoice-help)
  30.         (choices "MWB style (8 colors)" "NewIcons style")
  31.     )
  32. )
  33.  
  34. (if (IN #choice #gif)
  35.     (
  36.     (copyfiles
  37.         (source "Prefs/akGIFPrefs")
  38.         (dest #prefs-dir)
  39.         (infos)
  40.     )
  41.     )
  42. )
  43. (if (IN #choice #jfif)
  44.     (
  45.     (copyfiles
  46.         (source "Prefs/akJFIFPrefs")
  47.         (dest #prefs-dir)
  48.         (infos)
  49.     )
  50.     )
  51. )
  52. (if (IN #choice #ljpg)
  53.     (
  54.     (copyfiles
  55.         (source "Prefs/akLJPGPrefs")
  56.         (dest #prefs-dir)
  57.         (infos)
  58.     )
  59.     )
  60. )
  61. (if (IN #choice #png)
  62.     (
  63.     (copyfiles
  64.         (source "Prefs/akPNGPrefs")
  65.         (dest #prefs-dir)
  66.         (infos)
  67.     )
  68.     )
  69. )
  70. (if (IN #choice #svg)
  71.     (
  72.     (copyfiles
  73.         (source "Prefs/akSVGPrefs")
  74.         (dest #prefs-dir)
  75.         (infos)
  76.     )
  77.     )
  78. )
  79. (if (= #icon #new)
  80.     (
  81.     (if (IN #choice #gif)
  82.         (
  83.         (copyfiles
  84.             (source "NewIcons/Tool.info")
  85.             (dest #prefs-dir)
  86.             (newname "akGIFPrefs.info")
  87.         )
  88.         )
  89.     )
  90.     (if (IN #choice #jfif)
  91.         (
  92.         (copyfiles
  93.             (source "NewIcons/Tool.info")
  94.             (dest #prefs-dir)
  95.             (newname "akJFIFPrefs.info")
  96.         )
  97.         )
  98.     )
  99.     (if (IN #choice #ljpg)
  100.         (
  101.         (copyfiles
  102.             (source "NewIcons/Tool.info")
  103.             (dest #prefs-dir)
  104.             (newname "akLJPGPrefs.info")
  105.         )
  106.         )
  107.     )
  108.     (if (IN #choice #png)
  109.         (
  110.         (copyfiles
  111.             (source "NewIcons/Tool.info")
  112.             (dest #prefs-dir)
  113.             (newname "akPNGPrefs.info")
  114.         )
  115.         )
  116.     )
  117.     (if (IN #choice #svg)
  118.         (
  119.         (copyfiles
  120.             (source "NewIcons/Tool.info")
  121.             (dest #prefs-dir)
  122.             (newname "akSVGPrefs.info")
  123.         )
  124.         )
  125.     )
  126.     )
  127. )
  128.  
  129. (set @default-dest #prefs-dir)
  130.  
  131.